package com.six666.medicaldevicetestingsystem.dto;

import com.six666.medicaldevicetestingsystem.entity.SampleList;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SampleList_number_DTO{
    private int number;
    int sampleid;
    int projectid;
    String source;
    String samplenumber;
    String samplename;
    String model;
    String typename;
    public SampleList_number_DTO(SampleList sampleList, int number) {
        this.sampleid = sampleList.getSampleid();
        this.projectid = sampleList.getProjectid();
        this.source = sampleList.getSource();
        this.samplenumber = sampleList.getSamplenumber();
        this.samplename = sampleList.getSamplename();
        this.model = sampleList.getModel();
        this.typename = sampleList.getTypename();
        this.number = number;
    }
}
